package cn.edu.ctbu.datajpa01.repository;

import cn.edu.ctbu.datajpa01.domain.Achievement;
import org.springframework.data.jpa.repository.JpaRepository;


public interface AchievementRepository extends JpaRepository<Achievement,Integer> {

    void deleteAllByName(String name);

    void removeAllByName(String name);

    int removeAchievementsByName(String name);
}
